###############################################################################
## @copyright Copyright (c) 2022 OnMicro Corp.
## @brief     OpenMSP430 SoC demo on OnMicro FPGA han325t.
## @author    wei.lu@onmicro.com.cn
## @license   SPDX-License-Identifier: Apache-2.0
###############################################################################
PART_NAME    = xc7k325t
PART_PACKAGE = ffg900
PART_SPEED   = 1

PROJECT      = han325t_e902

SRC_DIR      = .
SRC_DIR     += ../han325t
SRC_DIR     += ../../ip/cpu/e902/biu/rtl
SRC_DIR     += ../../ip/cpu/e902/bmu/rtl
SRC_DIR     += ../../ip/cpu/e902/clic/rtl
SRC_DIR     += ../../ip/cpu/e902/clint/rtl
SRC_DIR     += ../../ip/cpu/e902/clk/rtl
SRC_DIR     += ../../ip/cpu/e902/coretim/rtl
SRC_DIR     += ../../ip/cpu/e902/cp0/rtl
SRC_DIR     += ../../ip/cpu/e902/cpu/rtl
SRC_DIR     += ../../ip/cpu/e902/had/rtl
SRC_DIR     += ../../ip/cpu/e902/ifu/rtl
SRC_DIR     += ../../ip/cpu/e902/iu/rtl
SRC_DIR     += ../../ip/cpu/e902/lsu/rtl
SRC_DIR     += ../../ip/cpu/e902/pmp/rtl
SRC_DIR     += ../../ip/cpu/e902/pmu/rtl
SRC_DIR     += ../../ip/cpu/e902/pwrm/rtl
SRC_DIR     += ../../ip/cpu/e902/rst/rtl
SRC_DIR     += ../../ip/cpu/e902/tcipif/rtl

INC_DIR     += ../../ip/soc/thead_soc902/common
INC_DIR     += ../../ip/soc/thead_soc902/ahb
INC_DIR     += ../../ip/soc/thead_soc902/apb
INC_DIR     += ../../ip/soc/thead_soc902/gpio
INC_DIR     += ../../ip/soc/thead_soc902/mem
INC_DIR     += ../../ip/soc/thead_soc902/pmu
INC_DIR     += ../../ip/soc/thead_soc902/smpu
INC_DIR     += ../../ip/soc/thead_soc902/timer
INC_DIR     += ../../ip/soc/thead_soc902/uart
INC_DIR     += ../../ip/soc/thead_soc902/wic

EXTRA_VFLAGS = FPGA

include ../common/Makefile.fpga_vivado
